package d1208.Ljs2.Ljs4;

import java.lang.reflect.Constructor;

public class Demo1 {
    public static void main(String[] args) throws Exception {
        Class<?>clazz=Class.forName("Ljs2.Ljs4.Student");
        Constructor c1=clazz.getConstructor(String.class,int.class);
        Object o = c1.newInstance("张三",18);
    }
}
